<?php

class Core_Model_Role extends Nuo_Db_Table_Row
{
	/**
	 * object type
	 * @property string
	 */
	protected $_kind = 'core@role';

	/**
	 * get role id
	 * @return int
	 */
	public function getId()
	{
		return $this -> role_id;
	}

	/**
	 * get role title
	 * @return string
	 */
	public function getTitle()
	{
		return $this -> role;
	}

	/**
	 * magic call object to string
	 * @return string
	 */
	public function __toString()
	{
		return $this -> getTitle();
	}

	/**
	 * get description
	 * @return string
	 */
	public function getDescription()
	{
		return $this -> role_description;

	}

}
